@charset "utf-8";
$font-size:28px; //定义根字体大小
@function r($px) {
    @return $px/$font-size*1rem;
}
.web {
    width:100%;
    height: 100%;
    background:#f3f4f6;
    //弹出窗口
    .popup-window {
        width:100%;
        height:100%;
        background:rgba(0,0,0,.7);
        position: absolute;
        z-index: 1;
        .window {
            width: r(540px);
            height: r(310px);
            background:#f8f8f8;
            border-radius: r(20px);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
            z-index: 2;
            text-align: center;
            padding-top: 4.7%;
            .change-name{
                display:block;
                font-size:r(32px);
                color:#333333;
            }
            input[type=text]{
                width:r(496px);
                height:r(63px);
                border:r(1px) solid #c1c1c1;
                border-radius:10px;
                padding:r(2px) r(15px);
                font-size:r(30px);
                color:#c1c1c1;
                margin-top:r(25px);
            }
            .line{
                width:r(498px);
                border-bottom:r(1px) solid #dcdcdc;
                margin-top:r(20px);
                margin-bottom:r(25px);
                display:inline-block;
            }
            input[type=button]{
                width:r(235px);
                height:r(80px);
                font-size:r(28px);
                border-radius:5px;
                border:r(1px) solid #b7b7b7;
            }
            .cancel{
                color:#666666;
                background: white;
                margin-right:r(20px);
            }
            .confirm{
                color:white;
                background:#cc3333;
            }
        }
    }
    header {
        width: 100%;
        height: r(90px);
        position: relative;
        top: 0;
        background: #f7f7f7;
        border-bottom: 1px solid #c1c1c1;
        padding:r(14px) r(20px) r(16px);
        line-height: r(60px);
        text-align: center;
        i {
            font-size: r(38px);
            color: #848689;
            font-weight: bold;
        }
        .nav-name {
            position:absolute;
            left:50%;
            transform:translateX(-50%);
            font-size: r(35px);
            color: #333333;
        }
    }
    .content {
        width: 100%;
        position: absolute;
        top: r(90px);
        bottom: r(100px);
        overflow: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        //客户信息
        .client-information {
            width: 100%;
            height: r(167px);
            border-bottom: r(1px) solid #e3e3e3;
            padding: 5% 3.9% 0;
            background-color:white;
            .head-portrait {
                width: r(90px);
                height: r(90px);
                margin-right: 2.7%;
                img {
                    width: 100%;
                }
            }
            span {
                display: block;
            }
            .client-name {
                font-size: r(28px);
                line-height: r(30px);
                color: #666666;
            }
            .tel-number,
            .nickname {
                font-size: r(24px);
                color: #666666;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                max-width: r(280px);
            }
            .set-name {
                width: r(120px);
                height: r(50px);
                border: r(1px) solid #949494;
                border-radius: r(5px);
                font-size: r(24px);
                color: #666666;
                background: white;
                position: relative;
                top: r(58px);
                line-height: r(50px);
                text-align: center;
            }
        }
        //总计
        .totle {
            width: 100%;
            height: r(136px);
            border-bottom: r(1px) solid #e3e3e3;
            padding: r(20px);
            background-color:white;
            .totle-left,
            .totle-right {
                width: 50%;
                height: 100%;
                text-align: center;
                em {
                    display: block;
                    font-size: r(30px);
                    color: #333333;
                    line-height: r(55px);
                }
                span {
                    display: block;
                    font-size: r(24px);
                }
            }
            .totle-left {
                border-right: r(1px) solid #e2e1e1;
            }
        }
        //分割
        .gray-bg {
            width: 100%;
            height: r(29px);
            background: #f3f4f6;
            border-bottom: r(1px) solid #e3e3e3;
        }
        //菜单
        .menu {
            width: 100%;
             padding-left: r(24.3px);
            background-color:white;
            .submenu {
                width: 100%;
                height: r(94px);
                border-bottom: r(1px) solid #e3e3e3;
                padding-right: 3.8%;
                a{display: block；}
                .img {
                    width:r(50px);
                    height:r(50px);
                    margin-top:r(20px);
                    img{
                        width:100%;
                    }
                }
                .menu-name {
                    margin-left: 1.6%;
                }
                .menu-num,
                .menu-name {
                    line-height: r(94px);
                    font-size: r(26px);
                    color: #333333;
                }
                .menu-right {
                    font-size: r(30px);
                    color: #a8a9ab;
                    line-height: r(94px);
                    margin-left:r(6px);
                }
                .font-red{
                    color: #d62d31;
                }
            }
        }
        //下部
        .foot {
            width: 100%;
            height: r(54px);
            background: #f3f4f6;
            border-top: r(1px) solid #e3e3e3;
        }
    }
    //底部
    .foot-nav {
        width: 100%;
        height: r(100px);
        position: absolute;
        bottom: 0;
        border-top: r(1px) solid #e1e2e4;
        padding:r(10px) r(124px) 0;
        font-size: r(20px);
        color: #666666;
        text-align: center;
        a {
            display: block;
        }
        .img {
            width: r(50px);
            height: r(45px);
            margin: 0 auto;
            img {
                height: 100%;
            }
        }
        span {
            font-size: r(22px);
            color: #666666;
            text-align: center;
            margin-top: r(8px);
            display: inline-block;
        }
    }
}
//媒体查询
@media screen and (min-width:320px){
    html{
        font-size:14px;
    }
}
@media screen and (min-width:360px){
    html{
        font-size:16px;
    }
}
@media screen and (min-width:375px){
    html{
        font-size:16.5px;
    }
}
@media screen and (min-width:414px){
    html{
        font-size:18px;
    }
}